package com.pfzhang.enum1;

//public enum Season {
//	SPRING,SUMMER,AUTUMN,WINTER;
//	
//	String name;
//	
//	private Season(){
//		System.out.println("Season");
//	}
//	
//	public String getName(){
//		return name;
//	}
//}


public enum Season {
	SPRING("sprint"),SUMMER("summer"),AUTUMN("autumn"),WINTER("winter");
	
	String name;
	
	private Season(String name){
		this.name= name;
		System.out.println("Season");
	}
	
	public String getName(){
		return name;
	}
}